home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Queries / PGetLayerList.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  781b  |  38 lines

  1. /*
  2.  *--- PGetLayerList.cpp ---------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetLayerList.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetLayerList.h"
  12. #include "PReplyBuf.h"
  13.  
  14.  
  15. PGetLayerList::PGetLayerList()
  16. : PListQuery(pm_getlayerlist)
  17. {
  18.     Scan();
  19. }
  20.  
  21. void PGetLayerList::Scan()
  22. {
  23.     PReplyBuf reply(listMom.Current());
  24.     
  25.     reply    >> &sName
  26.             >> nShow
  27.             >> nLock
  28.             >> nColorIndex
  29.             >> lRed
  30.             >> lGreen
  31.             >> lBlue;
  32.     
  33.     listMom.Update(reply);
  34. }
  35.  
  36.  
  37. // end of PGetLayerList.cpp
  38.